
.TreeItem-type-image > .TreeItem_head {
  h3,
  .treed_body_rendered,
  .textarea-grow textarea {
    text-align: center;
  }

  h3 {
    margin: 0px;
    padding: 10px;
  }
}

.treed_body-type-image {
  text-align: center;
}

.treed_body-type-image img {
  max-width: 100%;
  box-shadow: 0px 2px 7px #555;
  margin-top: 5px;
}

.treed_body-type-image .treed_body_rendered {
  font-size: 90%;
  padding-top: 2px;
  color: #333;
}

.ImageBase {
  position: relative;

  &-dragging {
    opacity: .5;
    outline: 10px dotted black;
  }

  &_close {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    background-color: #aaa;
    color: white;
    font-weight: bold;
    font-size: 20px;
    padding: 2px 5px 3px;
    border-radius: 3px;
    line-height: 16px;
    opacity: 0;
    transition: opacity .3s ease;
  }

  &:hover &_close {
    opacity: 1;
  }
}
